/**********************************************************
*
*   @file    useri2cReg.h
*   @author  Derrick Wang
*   @time    2018-4-26
*		@brief   定义I2c寄存器相关信息
*
*
***********************************************************/

#ifndef __USER_I2C_REG_H
#define __USER_I2C_REG_H

#define I2C_FIXED_ADDRESS      0X01   //模块固定地址
#define VERSION                0X10//版本号
//模块总寄存器数量
#define ALL_REG_NUMBER 16

//模块通用寄存器
#define REG_CHECK               0X0A 
#define REG_VERSION             0X0B
#define REG_LED                 0X0C
#define REG_RESET               0X0D
 
//模块特殊指令
#define REG_A_SHORT_RELEASE        0X30        
#define REG_B_SHORT_RELEASE        0X31
#define REG_C_SHORT_RELEASE        0X32
#define REG_D_SHORT_RELEASE        0X33
#define REG_A_LONG_RELEASE         0X34
#define REG_B_LONG_RELEASE         0X35
#define REG_C_LONG_RELEASE         0X36
#define REG_D_LONG_RELEASE         0X37
#define REG_A_LONG          			 0X38
#define REG_B_LONG          			 0X39
#define REG_C_LONG         				 0X3A
#define REG_D_LONG          			 0X3B

#endif
